using UnityEngine;

public class Pig : Destructiable
{

    public int score = 3000;
    public override void Dead()
    {
        base.Dead();
        GameManager.Instance.OnPigDead();
        ScoreManager.Instance.ShowScore(transform.position, score);
    }

    public override void PlaySFXCollision()
    {
        // AudioManager.Instance.PlaySFX("撞猪");
    }

    public override void PlaySFXDie()
    {
        AudioManager.Instance.PlaySFX("猪死");
    }
}